package com.angenela.imageshare.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;

import com.angenela.imageshare.R;
import com.angenela.imageshare.ui.home.HomeFragment;
import com.bumptech.glide.Glide;

public class watch_image extends AppCompatActivity {

    ImageView iv_detail_image;
    String src;

    private static final String STAR_URL = "http://122.9.152.182:8080/image/";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_watch_image);

        iv_detail_image = findViewById(R.id.iv_details_image);
        Intent intent = getIntent();
        src = intent.getStringExtra(myPush.ImageSrc);
        Glide.with(this).load(src).into(iv_detail_image);


    }
}